package com.okq.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 描述 : 产品类型库存数量
 * 作者 : zdl
 * 日期 : 2017/6/29 17:37
 */
@Entity
@Table(name = "v_product_type_number")
public class ProductTypeNumber implements Serializable {
    private static final long serialVersionUID = 7776030697785428588L;

    /**
     * 数量
     */
    @Column(name = "number")
    private Integer number;
    /**
     * 产品类型
     */
    @Id
    @Column(name = "productType")
    private Integer productType;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }
}
